In mathematics, the beta function, also called the Euler integral of the first kind, is a special function that is closely related to the gamma function and to binomial coefficients. It is defined by the integral
The beta function was studied by Leonhard Euler and Adrien-Marie Legendre and was given its name by Jacques Binet; its symbol is a Greek alphabet capital beta.
A key property of the beta function is its close relationship to the gamma function:
A proof is given below in .
The beta function is also closely related to binomial coefficients. When (or , by symmetry) is a positive integer, it follows from the definition of the gamma function that
Changing variables by and , because and , we have that the limits of integrations for are 0 to ∞ and the limits of integration for are 0 to 1. Thus produces
Dividing both sides by gives the desired result.
The stated identity may be seen as a particular case of the identity for the integral of a convolution. Taking
one has:
See The Gamma Function, page 18–19 for a derivation of this relation.
where denotes the digamma function.
for large and large .
If on the other hand is large and is fixed, then
where in the second-to-last identity is any positive real number. One may move from the first integral to the second one by substituting .
For values we have:
The beta function can be written as an infinite sum
The beta function satisfies several identities analogous to corresponding identities for binomial coefficients, including a version of Pascal's identity
and a simple recurrence on one coordinate:
The positive integer values of the beta function are also the partial derivatives of a 2D function: for all nonnegative integers and ,
For , the beta function may be written in terms of a convolution involving the truncated power function :
Evaluations at particular points may simplify significantly; for example,
By taking in this last formula, it follows that .
Generalizing this into a bivariate identity for a product of beta functions leads to:
Euler's integral for the beta function may be converted into an integral over the Pochhammer contour as
This Pochhammer contour integral converges for all values of and and so gives the analytic continuation of the beta function.
Just as the gamma function for integers describes , the beta function can define a binomial coefficient after adjusting indices:
Moreover, for integer , can be factored to give a closed form interpolation function for continuous values of :
Interestingly, their integral representations closely relate as the definite integral of trigonometric functions with product of its power and multiple-angle:
For , the incomplete beta function coincides with the complete beta function. For positive integers a and b, the incomplete beta function will be a polynomial of degree a + b - 1 with rational coefficients.
By the substitution and , we can show that
The regularized incomplete beta function (or regularized beta function for short) is defined in terms of the incomplete beta function and the complete beta function:
The regularized incomplete beta function is the cumulative distribution function of the beta distribution, and is related to the cumulative distribution function of a random variable following a binomial distribution with probability of single success and number of Bernoulli trials :
with odd and even coefficients respectively
converges rapidly when is not close to 1. The and convergents are less than , while the and convergents are greater than .
For , the function may be evaluated more efficiently using .
This multivariate beta function is used in the definition of the Dirichlet distribution. Its relationship to the beta function is analogous to the relationship between multinomial coefficients and binomial coefficients. For example, it satisfies a similar version of Pascal's identity:
In Microsoft Excel, for example, the complete beta function can be computed with the GammaLn function (or special.gammaln in Python's SciPy package):
This result follows from the properties listed above.
The incomplete beta function cannot be directly computed using such relations and other methods must be used. In GNU Octave, it is computed using a continued fraction expansion.
The incomplete beta function has existing implementation in common languages. For instance, betainc (incomplete beta function) in MATLAB and GNU Octave, pbeta (probability of beta distribution) in R and betainc in SymPy. In SciPy, special.betainc computes the regularized incomplete beta function—which is, in fact, the cumulative beta distribution. To get the actual incomplete beta function, one can multiply the result of special.betainc by the result returned by the corresponding beta function. In Mathematica, Beta[x, a, b] and BetaRegularized[x, a, b] give and , respectively.
Relationship to the gamma function
\Gamma(z_1)\Gamma(z_2) &= \int_{u=0}^\infty\ e^{-u} u^{z_1-1}\,du \cdot\int_{v=0}^\infty\ e^{-v} v^{z_2-1}\,dv \\[6pt]
&=\int_{v=0}^\infty\int_{u=0}^\infty\ e^{-u-v} u^{z_1-1}v^{z_2-1}\, du \,dv.
\end{align}
\Gamma(z_1)\Gamma(z_2) &= \int_{s=0}^\infty\int_{t=0}^1 e^{-s} (st)^{z_1-1}(s(1-t))^{z_2-1}s\,dt \,ds \\6pt
&= \int_{s=0}^\infty e^{-s}s^{z_1+z_2-1} \,ds\cdot\int_{t=0}^1 t^{z_1-1}(1-t)^{z_2-1}\,dt\\
&=\Gamma(z_1+z_2) \cdot \Beta(z_1,z_2).
\end{align}
Differentiation of the beta function
Approximation
Other identities and formulas
\begin{align}
\Beta(z_1,z_2) &= 2\int_0^{\pi / 2}(\sin\theta)^{2z_1-1}(\cos\theta)^{2z_2-1}\,d\theta, \\6pt
&= \int_0^\infty\frac{t^{z_1-1}}{(1+t)^{z_1+z_2}}\,dt, \\[6pt]
&= n\int_0^1t^{nz_1-1}(1-t^n)^{z_2-1}\,dt, \\
&= (1-a)^{z_2} \int_0^1 \frac{(1-t)^{z_1-1}t^{z_2-1}}{(1-at)^{z_1+z_2}}dt \qquad \text{for any } a\in\mathbb{R}_{\leq 1},
\end{align}
\Beta(z,z) = \frac{1}{z}\int_0^{\pi / 2}\frac{1}{(\sqrtz{\sin\theta} + \sqrtz{\cos\theta})^{2z}}\,d\theta
If and are equal to a number we get:
\Beta(z,z) = 2\sum_{n=0}^\infty \frac{(2z+n-1)_n (-1)^n}{(z+n)n!} = \lim_{x \to 1^-}2\sum_{n=0}^\infty \frac{(-2z)_n x^n}{(z+n)n!}
and as an infinite product
where
The Pascal-like identity above implies that this function is a solution to the first-order partial differential equation
and
Reciprocal beta function
Incomplete beta function
Properties
I_0(a,b) &= 0 \\
I_1(a,b) &= 1 \\
I_x(a,1) &= x^a\\
I_x(1,b) &= 1 - (1-x)^b \\
I_x(a,b) &= 1 - I_{1-x}(b,a) \\
I_x(a+1,b) &= I_x(a,b)-\frac{x^a(1-x)^b}{a \Beta(a,b)} \\
I_x(a,b+1) &= I_x(a,b)+\frac{x^a(1-x)^b}{b \Beta(a,b)} \\
\int \Beta(x;a,b) \mathrm{d}x &= x \Beta(x; a, b) - \Beta(x; a+1, b) \\
\Beta(x;a,b)&=(-1)^{a} \Beta\left(\frac{x}{x-1};a,1-a-b\right)
\end{align}
Continued fraction expansion
Multivariate beta function
Applications
Software implementation
See also
External links
|
|